package com.example.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
@Slf4j
@EnableUserImport
@SpringBootApplication
public class DemoApplication {


    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(DemoApplication.class, args);
        UserImportService userImportService = context.getBean(UserImportService.class);
        String user = userImportService.getUser();
        log.info(">>>>>>>>>>>getUser:{}",user);

    }

}
